package com.afc.struts.utils;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils
{
  static public String format(Date aDate)
  {
    return dateFormat.format(aDate);
  }

  static public Date parse(String aString) throws ParseException
  {
    return dateFormat.parse(aString);
  }

  static protected DateFormat dateFormat = new SimpleDateFormat("dd/mm/yyyy");
}
